mod utils;
mod geometry;

use wasm_bindgen::prelude::*;

pub use geometry::*;

#[wasm_bindgen]
extern "C" {
    fn alert(s: &str);
}

#[wasm_bindgen]
extern "C" {
    #[wasm_bindgen(js_namespace = console, js_name = log)]
    fn log(s: &str);
}

#[wasm_bindgen]
extern "C" {
    fn console_log(s: &str);
}

#[wasm_bindgen]
pub fn greet() {
    alert("Hello, sketch-compute!");

    log("Hello, sketch-compute!");
}
